package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.WxBanner;
import com.siyuanren.gcocp.entity.WxBannerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxBannerMapper {
    long countByExample(WxBannerExample example);

    int deleteByExample(WxBannerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxBanner record);

    int insertSelective(WxBanner record);

    List<WxBanner> selectByExample(WxBannerExample example);

    WxBanner selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxBanner record, @Param("example") WxBannerExample example);

    int updateByExample(@Param("record") WxBanner record, @Param("example") WxBannerExample example);

    int updateByPrimaryKeySelective(WxBanner record);

    int updateByPrimaryKey(WxBanner record);
}